﻿namespace Cik.Gapi4Net.Domain.Input.Validator
{
    using FluentValidation;

    public class BlogValidator : ValidationBase<Blog>
    {
    }

    public class BookValidator : ValidationBase<Book>
    {
    }

    public class ImageValidator : ValidationBase<Image>
    {
    }

    public class LocalValidator : ValidationBase<Local>
    {
    }

    public class NewsValidator : ValidationBase<News>
    {
    }

    public class PatentValidator : ValidationBase<Patent>
    {
    }

    public class TranslateValidator : ValidationBase<Translate>
    {
        public TranslateValidator()
            : base()
        {
            RuleFor(entity => entity.LanguagePair).NotNull();
        }
    }

    public class VideoValidator : ValidationBase<Video>
    {
    }

    public class WebValidator : ValidationBase<Web>
    {
    }
}